Skip to content

Update CSS to use layers#7730

Merged
javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
javiereguiluz:css_layers
Jul 18, 2026
Merged

Update CSS to use layers#7730
javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
javiereguiluz:css_layers

Conversation

@javiereguiluz

Copy link
Copy Markdown
Collaborator

CSS layers is what a project like this, reused by other users in their own apps, must use to handle CSS styles right. I didn't even knew this existed back then a few years ago when we reorganized CSS styles, so we never used them.

This PR finally introduces CSS layers. This doesn't change anything in your backends; they'll look exactly the same. But, it improves this:

(1) theming, which is coming soon (as mentioned in some recent PRs)
(2) Simpler custom CSS styles for you: no more !important or artificially specific selectors to override built-in EasyAdmin styles

@javiereguiluz javiereguiluz added this to the 5.x milestone Jul 16, 2026
@javiereguiluz
javiereguiluz force-pushed the css_layers branch 2 times, most recently from 6f1b961 to 479ac29 Compare July 18, 2026 11:13
@javiereguiluz
javiereguiluz merged commit 8c87f51 into EasyCorp:5.x Jul 18, 2026
@javiereguiluz
javiereguiluz deleted the css_layers branch July 18, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant